//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Atlanta Ballet: Liquid Motion','Cobb Energy Performing Arts Centre','Atlanta, GA','Friday','5/10/2024','8:00 PM','5974530','Atlanta-Ballet--Liquid-Motion-5-10-2024'],['Atlanta Ballet: Liquid Motion','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','5/11/2024','2:00 PM','5974531','Atlanta-Ballet--Liquid-Motion-5-11-2024'],['Atlanta Ballet: Liquid Motion','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','5/11/2024','8:00 PM','5974532','Atlanta-Ballet--Liquid-Motion-5-11-2024'],['Atlanta Ballet: Liquid Motion','Cobb Energy Performing Arts Centre','Atlanta, GA','Sunday','5/12/2024','2:00 PM','5974533','Atlanta-Ballet--Liquid-Motion-5-12-2024'],['Northeast Atlanta Ballet: Beauty and the Beast Ballet','Gas South Theater','Duluth, GA','Sunday','5/19/2024','2:00 PM','5875634','Northeast-Atlanta-Ballet--Beauty-and-the-Beast-Ballet-5-19-2024'],['Northeast Atlanta Ballet: Beauty and the Beast Ballet','Gas South Theater','Duluth, GA','Sunday','5/19/2024','6:00 PM','5875635','Northeast-Atlanta-Ballet--Beauty-and-the-Beast-Ballet-5-19-2024'],['Atlanta Professional Dance Academy: Giselle','Gas South Theater','Duluth, GA','Sunday','5/26/2024','7:30 PM','6376089','Atlanta-Professional-Dance-Academy--Giselle-5-26-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','12/7/2024','2:00 PM','6375040','The-Nutcracker-12-7-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','12/7/2024','7:30 PM','6375042','The-Nutcracker-12-7-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Sunday','12/8/2024','2:00 PM','6375041','The-Nutcracker-12-8-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Sunday','12/8/2024','7:00 PM','6375043','The-Nutcracker-12-8-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Friday','12/13/2024','7:30 PM','6375044','The-Nutcracker-12-13-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','12/14/2024','2:00 PM','6375047','The-Nutcracker-12-14-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','12/14/2024','7:30 PM','6375045','The-Nutcracker-12-14-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Sunday','12/15/2024','2:00 PM','6375048','The-Nutcracker-12-15-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Sunday','12/15/2024','7:00 PM','6375046','The-Nutcracker-12-15-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Wednesday','12/18/2024','7:30 PM','6375049','The-Nutcracker-12-18-2024'],['Nutcracker! Magical Christmas Ballet','Fabulous Fox Theatre - Atlanta','Atlanta, GA','Thursday','12/19/2024','7:00 PM','6353566','Nutcracker--Magical-Christmas-Ballet-12-19-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Thursday','12/19/2024','7:30 PM','6375050','The-Nutcracker-12-19-2024'],['Nutcracker! Magical Christmas Ballet','Fabulous Fox Theatre - Atlanta','Atlanta, GA','Friday','12/20/2024','3:00 PM','6353567','Nutcracker--Magical-Christmas-Ballet-12-20-2024'],['Nutcracker! Magical Christmas Ballet','Fabulous Fox Theatre - Atlanta','Atlanta, GA','Friday','12/20/2024','7:00 PM','6350758','Nutcracker--Magical-Christmas-Ballet-12-20-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Friday','12/20/2024','7:30 PM','6375051','The-Nutcracker-12-20-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','12/21/2024','2:00 PM','6375055','The-Nutcracker-12-21-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Saturday','12/21/2024','7:30 PM','6375052','The-Nutcracker-12-21-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Sunday','12/22/2024','2:00 PM','6375056','The-Nutcracker-12-22-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Sunday','12/22/2024','7:00 PM','6375053','The-Nutcracker-12-22-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Tuesday','12/24/2024','1:00 PM','6375057','The-Nutcracker-12-24-2024'],['The Nutcracker','Cobb Energy Performing Arts Centre','Atlanta, GA','Thursday','12/26/2024','2:00 PM','6375058','The-Nutcracker-12-26-2024']],'Atlanta Ballet','http://www.ticketnetwork.com/ticket/Atlanta-Ballet-events.aspx');